<script setup lang="ts">

let male = false;

const getInfo = () => {
  return '感觉不错'
}

const dog = {
  name: 'keji',
  bark() {
    return '汪汪汪'
  }
}
</script>

<template>
  <h2>{{ male ? 'man' : 'woman' }}</h2>
  <h2>{{ getInfo() }}</h2>
  <h2>{{ dog.bark() }}</h2>
</template>

<style scoped>
h1 {
  color: red;
  background-color: yellow;
}
</style>
